#include "../DataStructures/avdtech.h"
#include "../Algorithms/string_algo.h"

void strings_driver()
{
    char a[] = "abcdefksgjdlfgdefsdkhsdffdefdsf" ;
    char b[] = "def" ;
    int len = strlen(b) ;

    printf("1st %d\n", xsubstr(a, b, 1, len)) ;
    printf("2nd %d\n", xsubstr(a, b, 2, len)) ;
    printf("3rd %d\n", xsubstr(a, b, 3, len)) ;
    printf("4th %d\n", xsubstr(a, b, 4, len)) ;
}
